package com.ocean.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ocean.common.annotation.Excel;
import com.ocean.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 定时删除文件配置对象 sys_file_timed_del
 * 
 * @author ocean
 * @date 2024-04-10
 */
public class SysFileTimedDel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 删除路径 */
    @Excel(name = "删除路径")
    private String sclj;

    /** 几天内天数 */
    @Excel(name = "几天内天数")
    private String ts;

    @Excel(name = "备注")
    private String bz;


    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSclj(String sclj) 
    {
        this.sclj = sclj;
    }

    public String getSclj() 
    {
        return sclj;
    }
    public void setTs(String ts) 
    {
        this.ts = ts;
    }

    public String getTs() 
    {
        return ts;
    }
    public void setcTime(Date cTime) 
    {
        this.cTime = cTime;
    }

    public Date getcTime() 
    {
        return cTime;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sclj", getSclj())
            .append("ts", getTs())
            .append("cTime", getcTime())
            .toString();
    }
}
